package com.zy.xuanwo.utils;


/**
 * 相关的常量接口
 * @author lc
 *
 */
public interface Constants {
	/**
	 *应用程序的唯一包名,和安装后android系统上的包名一致
	 */
	public final static String PACKAGENAME="com.zy.xuanwo";
	/**
	 * 调用服务器URL地址时，服务器返回的状态码：未登陆服务器或无操作权限
	 */
	public final static int SERVERAUTHENTICATIONFAIL = 1111111;
	/**
	 * 日志 tag
	 */
	public final static String TAG = "xuanwo_tag";
	
	/**
	 * 发送用户管理的Intent常量ID
	 */
	public final static int SEND_USER_MANAGE_INTENT = 0x2001;
	/**
	 * 发送服务器信息管理的Intent常量ID
	 */
	public final static int SEND_SERVER_MANAGE_INTENT = 0x2002;
	/**
	 * 发送离线地图包管理的Intent常量ID
	 */
	public final static int SEND_OFFLINE_MAP_MANAGE_INTENT = 0x2003;

	/**
	 * 数据下载成功
	 */
	public final static int DOWN_SUCCESS = 1;
	/**
	 * 数据下载失败
	 */
	public final static int DOWN_FAILURE = 0;
	
	/**
	 * 状态
	 */
	public static final String STATUS = "status";
	/**
	 * 状态：警告
	 */
	public static final String WARN = "warn";
	/**
	 * 操作成功
	 */
	public static final String SUCCESS = "success";
	/**
	 * 状态：错误
	 */
	public static final String ERROR = "error";
	/**
	 * 通知
	 */
	public static final String MESSAGE = "message";
	/**
	 * 导行栏 key
	 */
	public static final String TABTYPE = "tabType";

//	public static final String URL = "http://192.168.0.52:8080/ECMSV2.0/app/control/netPointAppAction.do?method=searchByDestination";
//	public static  final  String IMAGEURL = "http://192.168.0.52:8088/ECMSV2.0/app/control/operatorsAppAction.do?method=getOperatorsNetPointIcons";
//    public final String URL1 = "http://192.168.0.52:8080/ECMSV2.0/app/control/netPointAppAction.do?method=searchByRange";
	public static final String header = "http://";
	public static final String serviceIP = "192.168.0.52";
	public static final String serviceIP2 = "192.168.0.16";
	public static final String servicePort = ":8080";
	public static final String servicePort2 = ":8088";
	public static final String path = "/ECMSV2.0/app/control/netPointAppAction.do?method=searchByDestination";
	public static final String path1 = "/ECMSV2.0/app/control/netPointAppAction.do?method=getNetPoints&page=1&rows=1000";
	public static final String imagepath = "/ECMSV2.0/app/control/operatorsAppAction.do?method=getOperatorsNetPointIcons";
	public static final String smallpath = "/ECMS2.0/app/control/netPointAppAction.do?method=searchBySmallLatLng";
	public static final String searchpath = "/ECMSV2.0/app/control/netPointAppAction.do?method=searchByRange";
	public static final String URL = header+serviceIP+servicePort+path;
	public static final String IMAGEURL = header+serviceIP+servicePort+imagepath;
	public static final String SMALLURL = header+serviceIP2+servicePort+smallpath;
	public static final String SEARCHPATH = header+serviceIP+servicePort+searchpath;




}
